<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Edit Staff</title>
</head>
<body>
	<div class="content-box">
		<div class="box-body">
			<div class="box-header clear">
				<h2>Edit Staff</h2>
			</div>

			<div class="box-wrap clear">

				<form action="Edit.action" class="validate-form form bt-space15">
					<input type="hidden" name="staff.staffId" value='<s:property value="staff.staffId"/>' />
					<div class="columns clear bt-space15">

						<div class="form-field clear">
							<label for="textfield" class="form-label size-120 fl-space2">Name
								:</label> <input type="text" id="textfield"
								class="required text size-200 fl-space2" name="staff.staffName"
								value='<s:property value="staff.staffName"/>' />
						</div>
						<!-- /.form-field -->
						<div class="form-field clear">
							<label for="textfield" class="form-label size-120 fl-space2">Phone
								:</label> <input type="text" id="textfield"
								class="required text size-200 fl-space2" name="staff.staffPhone"
								value='<s:property value="staff.staffPhone"/>' />
						</div>
						<div class="form-field clear">
							<label for="textfield" class="form-label size-120 fl-space2">Email
								:</label> <input type="text" id="textfield"
								class="required text size-200 fl-space2" name="staff.staffEmail"
								value='<s:property value="staff.staffEmail"/>' />
						</div>
						<div class="form-field clear">
							<label for="textfield" class="form-label size-120 fl-space2">Status
								:</label> <input type="text" id="textfield"
								class="required text size-200 fl-space2" name="staff.staffStatus"
								value='<s:property value="staff.staffStatus"/>' />
						</div>
						<div class="form-field clear">
							<label for="textfield" class="form-label size-120 fl-space2">Joined
								Date :</label> <input type="text" id="textfield"
								class="required text size-200 fl-space2" name="staff.dateJoined"
								value='<s:date name="staff.dateJoined" format="dd/MM/yyyy" />' />
						</div>
						<div class="form-field clear">
							<label for="textfield" class="form-label size-120 fl-space2">Left
								Date :</label> <input type="text" id="textfield"
								class="required text size-200 fl-space2" name="staff.dateLeft"
								value='<s:date name="staff.dateLeft" format="dd/MM/yyyy" />' />
						</div>
					</div>
					<div class="rule"></div>
					<div class="form-field clear">
						<input type="submit" class="button blue fl-space2" value="Save" />
						<input type="submit" class="button grey fl-space2" value="Cancel"
							name="action:Listing" />
					</div>
				</form>
			</div>
			<!-- end of box-wrap -->
		</div>
		<!-- end of box-body -->
	</div>
	<!-- end of content-box -->
</body>
</html>